package com.ruoyi.feedback.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 意见反馈对象 feedback
 * 
 * @author ruoyi
 * @date 2023-06-05
 */
public class Feedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 意见ID */
    @Excel(name = "意见ID")
    private Long id;

    /** 反馈标题 */
    @Excel(name = "反馈标题")
    private String title;

    /** 反馈信息 */
    @Excel(name = "反馈信息")
    private String info;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 审阅状态 */
    @Excel(name = "审阅状态")
    private Integer state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("info", getInfo())
            .append("username", getUsername())
            .append("state", getState())
            .toString();
    }
}
